{imp:"c_pub/alay_main"}<!--继承父模板-->

{block:extop}
{code:"d_uplog/a_cfgs"}
<?php 
$_bkey = $this->key ? 'vlog' : 'home'; 
$file = empty($this->key) ? 'readme' : "v".intval($this->key).'.x';
$key = empty($this->key) ? 'readme' : $this->key;
$subs = tex('texBase')->docer("d_uplog/$file");
if(empty($subs)){ $this->msg('Has NOT Release!'); }
$sub = req('sub',''); 
$verflag = $cfgs[$key][1];
$titlesub = $titletop = 'Release';
$titletop .= ' '.$verflag; ;
$titlesub = $_cbase['sys_name'].' '.$titlesub;
?>
{/block:extop}

{block:exbar}
    <?php foreach($subs as $k=>$v){ $title = $_bkey=='home' ? $v['title'] : $k; ?>
    <a href="#s_{=$k}">{=$title}</a>
    <?php } ?>
{/block:exbar}

{block:exmain}
    
    <?php foreach($subs as $k=>$v){ ?>
    <ul id="s_{=$k}" class="mod-section mod-uplog">
      <li class="type">{=$k}{=$v['title']} <span class="right">--- <a href="#">[Top]</a></span></li>
      {=$v['detail']}
    </ul>
    <?php } ?>

{/block:exmain}
